﻿using System;
using System.Collections.Generic;

namespace EventBus.RabbitMQ
{
    public interface IConsumerServiceSelector
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public Dictionary<string, List<RouteInfo>> GetServiceInfo();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="queueName"></param>
        /// <param name="type"></param>
        bool TryGetExecutor(string queueName, out Type type);
    }
}